# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models

class Migration(SchemaMigration):

    def forwards(self, orm):
        
        # Deleting field 'Fiction.subs'
        db.delete_column('fiction_fiction', 'subs')


    def backwards(self, orm):
        
        # User chose to not deal with backwards NULL issues for 'Fiction.subs'
        raise RuntimeError("Cannot reverse this migration. 'Fiction.subs' and its values cannot be restored.")


    models = {
        'fiction.chapter': {
            'Meta': {'object_name': 'Chapter'},
            'chapter': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'fiction': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['fiction.Fiction']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
        },
        'fiction.fiction': {
            'Meta': {'object_name': 'Fiction'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'last_modified_time': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
            'new_tag': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
        }
    }

    complete_apps = ['fiction']
